﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>系统登录 - 超市订单管理系统</title>
    <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/4.2.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.default.css" id="theme-stylesheet">
    <link href="${pageContext.request.contextPath}/css/bootstrap.css" rel="stylesheet">
</head>

<body>
<div style="height: 100%">
    <div class="page login-page">
        <div class="container d-flex align-items-center">
            <div class="form-holder has-shadow">
                <div class="row">
                    <!-- Logo & Information Panel-->
                    <div class="col-lg-6">
                        <div class="info d-flex align-items-center">
                            <div class="content">
                                <div class="logo">
                                    <h1>欢迎登录</h1>
                                </div>
                                <h1>超市订单管理系统</h1>
                            </div>
                        </div>
                    </div>
                    <!-- Form Panel    -->
                    <div class="col-lg-6 bg-white">
                        <div class="form d-flex align-items-center">
                            <div class="content">
                                <form method="post" action="${pageContext.request.contextPath}/login.html" class="actionForm" id="actionForm">
                                    <div style="color: red;font-weight:bold; ">${error}</div>
                                    <div class="form-group">
                                        <label for="userCode">用户名：</label>
                                        <input id="userCode" type="text" name="userCode" required data-msg="请输入用户名" placeholder="请输入用户名"  class="input-material">
                                    </div>
                                    <div class="form-group">
                                        <label for="userPassword">密码：</label>
                                        <input id="userPassword" type="password" name="userPassword" required data-msg="请输入密码" placeholder="请输入密码" class="input-material">
                                    </div>
                                    <input type="submit" name="login" value="登录" class="btn-lg btn-success" aria-haspopup="true" aria-expanded="false">
                                    <div style="margin-bottom: 20px;">
                                    </div>
                                </form>
                                <br />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/front.js"></script>
</body>
</html>
